//
//  SROtaManager.h
//  sr01sdkProject
//
//  Created by Linktop on 2022/5/16.
//  处理ota回包业务

#import <Foundation/Foundation.h>
#import "SRBLeService.h"
#import "SROTADefines.h"
#import "LTSRingSDK.h"

NS_ASSUME_NONNULL_BEGIN


@interface SROtaManager : NSObject

@property(strong, nonatomic, readonly)NSURL *otaImgFileUrl; // 升级包url
@property(weak, nonatomic)id<SROTAProtocal> bleOtaDelegate;  // ota 代理回调对象


- (instancetype)initWithService:(SRBLeService *)service;

/// 开始ota
/// @param fileUtl ota 镜像
-(void)startOta:(NSURL *)fileUtl;
-(void)setService:(SRBLeService *)service;



@end

NS_ASSUME_NONNULL_END
